/*
 * @Author: zhangyanxin
 * @Date: 2019-11-09 14:39:32
 *
 * 机构管理
 */

import { createAPI } from '@/utils/request'

// 获取机构列表

export const list = (params, data) => createAPI(`/teaching/m/company/list?pageNo=${params.pageNo}&pageSize=${params.pageSize}`, 'post', data)

// 获取机构详情
export const detail = data => createAPI(`/teaching/company/${data.companyId}`, 'get', data)
// 机构审核
export const approve = data => createAPI('/teaching/m/company/approve', 'post', data)
